package com.itsu.integration.service;

import org.springframework.ws.client.core.support.WebServiceGatewaySupport;

/**
 * @author suben
 * @date 2020/4/30 12:02
 */
public class WsClient extends WebServiceGatewaySupport {

    public Object callWebService(Object request) {
        return getWebServiceTemplate().marshalSendAndReceive(getDefaultUri(), request);
    }
}